.\"   $Id: delphvia.3,v 1.1 2002/03/08 13:51:02 fred Exp $
.\" @(#)delphvia.2 2.11 91/08/22 ; Labo masi cao-vlsi; Author : Frederic Petrot
.if t \{\
.so man1/alc_contents.mac
.XS \n%
.ti 0.2i
delphvia
.XE
.XS0 \n%
.ti 0.2i
delphvia
.XE0 \}
.TH DELPHVIA 3 "October 1, 1997" "ASIM/LIP6" "MBK PHYSICAL FUNCTIONS"
.SH NAME
delphvia \- delete a physical via
.so man1/alc_origin.1
.SH SYNOPSIS
.nf
.if n \{\
.ft B \}
.if t \{\
.ft CR \}
#include "mph.h"
int delphvia(ptfig, ptvia)
phfig_list \(**ptfig;
phvia_list \(**ptvia;
.ft R
.fi
.SH PARAMETERS
.TP 20
\fIptfig\fP
Pointer to the figure in which the via should be deleted
.TP
\fIptvia\fP
Pointer to the via to be deleted.
.SH DESCRIPTION
\fBdelphvia\fP delete the via pointed to by \fIptvia\fP in the figure 
pointed to by \fIptfig\fP.
The list consistency is maintainded, and the space freed.
.SH RETURN VALUE
\fBdelphvia\fP returns \fB1\fP if the via has been deleted, \fB0\fP
if no such via exists in the list.
.SH EXAMPLE
.ta 3n 6n 9n 12n 15n 18n 21n
.nf
.if n \{\
.ft B \}
.if t \{\
.ft CR \}
#include "mph.h"
char \(**was_existing(ptfig, ptvia)
phfig_list \(**ptfig;
phvia_list \(**ptvia;
{
   /\(** if only one exists, it's this one \(**/
   return delphvia(ptfig, ptvia) ? "you just killed it!"
                                 : "wasn't here anyway"; 
}
.ft R
.fi
.SH SEE ALSO
.BR mbk (1),
.BR phfig (3),
.BR phvia (3),
.BR addphvia (3).


.so man1/alc_bug_report.1

